using MediaMover.Data.Repositories;
using MediaMover.DataAccess;

namespace MediaMover.Data
{
   public class Access
   {
       private IShowRepository _showRepository;
       public IShowRepository ShowRepository
       {
           get
           {
               if (_showRepository == null)
                   _showRepository = new ShowRepository();
               return _showRepository;
           }
           set { _showRepository = value; }
       }

       private ISettingsRepository _settingsRepository;
       public ISettingsRepository SettingsRepository
       {
           get
           {
               if (_settingsRepository == null)
                   _settingsRepository = new SettingsRepository();
               return _settingsRepository;
           }
           set { _settingsRepository = value; }
       }
   }
}